package smlab.media.FLVPlayer.events
{
	import flash.events.Event;

	public class StateEvent extends Event
	{
		/**
		 * 场景初始化完毕
		 */
		public static const STATE_INITIALIZED:String='state_initialized';
		
		/**
		 * 场景开始切换（前一场景开始 sleep 前触发），此事件目前不处理，备用
		 */
		public static const STATE_CHANGE:String='state_Change';
		
		/**
		 * 场景切换结束（要切换到的场景 initialize 后触发），此事件目前不处理，备用
		 */
		public static const STATE_CHANGED:String='state_Changed';
		
		/**
		 * 请求切换到 loading_state
		 */
		public static const SWITCH_TO_LOADING_STATE:String='switch_to_loading_state';
		
		/**
		 * 请求切换到 ad_state
		 */
		public static const SWITCH_TO_AD_STATE:String='switch_to_ad_state';
		
		/**
		 * 请求切换到 player_state
		 */
		public static const SWITCH_TO_PLAYER_STATE:String='switch_to_player_state';
		
		public function StateEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}